package com.example.shopping.pojo.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.shopping.pojo.base.DateBean;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Dream
 * @version 1.0
 * @date 2020/11/9 10:44
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value="user")
public class UserBean extends DateBean{
    @TableId
    private Integer id;
    /**
     * 账号
     */
    private String xh;
    /**
     * 密码
     */
    private String password;
    /**
     * 姓名
     */
    private String name;
    /**
     * 年龄
     */
    private Integer age;
    /**
     * 性别
     */
    private String sex;
    /**
     * 收货地址
     */
    private String address;
}
